package pattern.principle.lod;
//中间类
public class Friend {

	private Stranger stranger = new Stranger();
	
	public void forword(){
		stranger.starngerMethod();
	}
	
	public void friendMethod(){
		System.out.println("自己的方法");
	}
}
